/*
 * Copyright 2017 Baiyyy
 * @(#)ColdStorageService.java
 */

package com.byyy.ccts.modules.ysjl.service.impl;

import com.byyy.ccts.core.common.service.impl.CommonServiceImpl;
import com.byyy.ccts.modules.ysjl.entity.YsjlActivityPic;
import com.byyy.ccts.modules.ysjl.mapper.YsjlActivityPicMapper;
import com.byyy.ccts.modules.ysjl.service.IYsjlActivityPicService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by DELL on 2018-6-13.
 */
@Transactional
@Service("ysjlActivityPicService")
public class YsjlActivityPicService extends CommonServiceImpl<YsjlActivityPicMapper, YsjlActivityPic> implements IYsjlActivityPicService {

    @Override
    public List<YsjlActivityPic> queryListByActivityId(String activityId) {
        return this.baseMapper.queryListByActivityId(activityId);
    }

    @Override
    public int deleteByActivityId(String activityId) {
        return this.baseMapper.deleteByActivityId(activityId);
    }
}
